﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WLYT.Domain.ApiModel
{
    public class ApiOrderModel
    {
        public int Id { get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string DocNum { get; set; }

        /// <summary>
        /// 出入库ID
        /// </summary>
        public string BoundMaterialId { get; set; }


        /// <summary>
        /// 单据类型
        /// </summary>
        public string DocType { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public string WareCode { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 旧库位
        /// </summary>
        public string OldLocation { get; set; }

        /// <summary>
        /// 标签Id
        /// </summary>
        public string LabelId { get; set; }
        public string OrigLabelId { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string ItemCode { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string ItemName { get; set; }
        public string OriginalCode { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Qty { get; set; }
    }

    public class ApiOrderItemModel
    {
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string WareCode { get; set; }

        /// <summary>
        /// 库位编码
        /// </summary>
        public string Location { get; set; }

        /// <summary>
        /// 标签Id
        /// </summary>
        public string LabelId { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string ItemCode { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Qty { get; set; }
    }
}
